package com.woniuxy.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 属性组
 * </p>
 *
 * @author zcx, ftl, gr, rhs
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "批量添加属性组")
public class SaveGoodsPropgroupParam implements Serializable {

    @NotNull(message = "属性组名不能为空！")
    @ApiModelProperty(value = "属性组名")
    private String goodsPropgroupName;
    @NotNull(message = "状态不能为空！")
    @ApiModelProperty(value = "状态")
    private Integer goodsPropgroupStatus;
    @NotEmpty(message = "小类ids不能为空")
    @ApiModelProperty(value = "小类ids不能为空")
    List<Integer> goodsSmallerIds;


}
